from tastypie.resources  import ModelResource
from .models import User

class MyModelResource(ModelResource):
    
    class Meta:

        queryset = User.users.all()
        allowed_methods = ['get']